package org.intrasearch.core;

import com.google.inject.ImplementedBy;

import java.util.List;

@ImplementedBy(ArtifactStorageImpl.class)
public interface ArtifactStorage
{
    List<Artifact> artifactsByIds(List<ArtifactId> artifactIds);

    void addArtifact(Artifact artifact);

    void flush();
}
